home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 127 / PC Guia 127.iso / Software / Produtividade / OpenOffice.org 2.0.1 / openofficeorg1.cab / mailnews.js < prev    next >
Text File  |  2005-07-13  |  30KB  |  581 lines

  1. /* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /* ***** BEGIN LICENSE BLOCK *****
  3.  * Version: NPL 1.1/GPL 2.0/LGPL 2.1
  4.  *
  5.  * The contents of this file are subject to the Netscape Public License
  6.  * Version 1.1 (the "License"); you may not use this file except in
  7.  * compliance with the License. You may obtain a copy of the License at
  8.  * http://www.mozilla.org/NPL/
  9.  *
  10.  * Software distributed under the License is distributed on an "AS IS" basis,
  11.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12.  * for the specific language governing rights and limitations under the
  13.  * License.
  14.  *
  15.  * The Original Code is mozilla.org code.
  16.  *
  17.  * The Initial Developer of the Original Code is 
  18.  * Netscape Communications Corporation.
  19.  * Portions created by the Initial Developer are Copyright (C) 1998
  20.  * the Initial Developer. All Rights Reserved.
  21.  *
  22.  * Contributor(s):
  23.  *
  24.  * Alternatively, the contents of this file may be used under the terms of
  25.  * either the GNU General Public License Version 2 or later (the "GPL"), or 
  26.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  27.  * in which case the provisions of the GPL or the LGPL are applicable instead
  28.  * of those above. If you wish to allow use of your version of this file only
  29.  * under the terms of either the GPL or the LGPL, and not to allow others to
  30.  * use your version of this file under the terms of the NPL, indicate your
  31.  * decision by deleting the provisions above and replace them with the notice
  32.  * and other provisions required by the GPL or the LGPL. If you do not delete
  33.  * the provisions above, a recipient may use your version of this file under
  34.  * the terms of any one of the NPL, the GPL or the LGPL.
  35.  *
  36.  * ***** END LICENSE BLOCK ***** */
  37.  
  38. // this is a hidden preference setting, see bugzilla bug 80035
  39. // (http://bugzilla.mozilla.org/show_bug.cgi?id=80035)
  40. //
  41. // the default value for this setting is true which means when migrating from
  42. // Netscape 4.x, mozilla will copy all the contents of Local Folders and Imap
  43. // Folder to the newly created subfolders of migrated mozilla profile
  44. // when this value is set to false, mozilla will not copy these contents and
  45. // still share them with Netscape 4.x
  46. //
  47. // Advantages of forbidding copy operation:
  48. //     reduce the disk usage
  49. //     quick migration
  50. // Disadvantage of forbidding copy operation:
  51. //     without perfect lock mechamism, there is possibility of data corruption
  52. //     when Netscape 4.x and mozilla run at the same time and access the same
  53. //     mail file at the same time
  54. pref("mail.migration.copyMailFiles", true);
  55.  
  56. //mailnews.timeline_is_enabled should be set to true ONLY for perf measurement-timeline builds.
  57. pref("mailnews.timeline_is_enabled", false);
  58.  
  59. pref("mailnews.logComposePerformance", false);
  60.  
  61. pref("mail.wrap_long_lines",                true);
  62. pref("news.wrap_long_lines",                true);
  63. pref("mail.inline_attachments",             true);
  64. pref("mailnews.auto_unzip_saved_attachments", false);
  65.  
  66. // hidden pref for controlling if the user agent string
  67. // is displayed in the message pane or not...
  68. pref("mailnews.headers.showUserAgent",       false);
  69.  
  70. // hidden pref for controlling if the organization string
  71. // is displayed in the message pane or not...
  72. pref("mailnews.headers.showOrganization",    false);
  73.  
  74. // Mail server preferences, pop by default
  75. pref("mail.server_type",    0);     // 0 pop, 1 imap,
  76.                     // (Unix only:)
  77.                     // 2 movemail, 3 inbox          
  78. pref("mail.auth_login", true);
  79.  
  80. pref("mail.default_drafts", "");    // empty string use default Drafts name;
  81. pref("mail.default_templates", ""); // empty string use default Templates name
  82.  
  83. pref("mail.imap.server_sub_directory",      "");
  84. pref("mail.imap.max_cached_connections",    10);
  85. pref("mail.imap.fetch_by_chunks",           true);
  86. pref("mail.imap.chunk_size",                10240);
  87. pref("mail.imap.min_chunk_size_threshold",  15360);
  88. pref("mail.imap.max_chunk_size",            40960);
  89. pref("mail.imap.chunk_fast",                2);
  90. pref("mail.imap.chunk_ideal",               4);
  91. pref("mail.imap.chunk_add",                 2048);
  92. pref("mail.imap.hide_other_users",          false);
  93. pref("mail.imap.hide_unused_namespaces",    true);
  94. pref("mail.imap.new_mail_get_headers",      true);
  95. pref("mail.imap.auto_unsubscribe_from_noselect_folders",    true);
  96. pref("mail.imap.cleanup_inbox_on_exit",     false);
  97. pref("mail.imap.mime_parts_on_demand",      true);
  98. pref("mail.imap.mime_parts_on_demand_max_depth", 15);
  99. pref("mail.imap.mime_parts_on_demand_threshold", 30000);
  100. pref("mail.imap.use_literal_plus",          true);
  101. pref("mail.thread_without_re",                true);
  102. pref("mail.leave_on_server",                false);
  103. pref("mail.default_cc",                     "");
  104. pref("mail.default_fcc",                    ""); // maibox:URL or Imap://Host/OnLineFolderName
  105. pref("mail.check_new_mail",                 false);
  106. pref("mail.pop3_gets_new_mail",             false);
  107. pref("mail.check_time",                     10);
  108. pref("mail.pop_name",                       "");
  109. pref("mail.remember_password",              false);
  110. pref("mail.pop_password",                   "");
  111. pref("mail.fixed_width_messages",           true);
  112. pref("mail.citation_color",                 ""); // quoted color
  113. pref("mail.quoted_style",                   0); // 0=plain, 1=bold, 2=italic, 3=bolditalic
  114. pref("mail.quoted_size",                    0); // 0=normal, 1=big, 2=small
  115. pref("mail.quoted_graphical",               true); // use HTML-style quoting for displaying plain text
  116. pref("mail.quoteasblock",                   true); // use HTML-style quoting for quoting plain text
  117. pref("mail.identity.organization",          "");
  118. pref("mail.identity.reply_to",              "");
  119. pref("mail.identity.username",              "");
  120. pref("mail.identity.useremail",             "");
  121. pref("mail.use_fcc",                        true);
  122. pref("mail.cc_self",                        false);
  123. pref("mail.strictly_mime",                  false);
  124. pref("mail.strictly_mime_headers",          true);
  125. pref("mail.file_attach_binary",             false);
  126. pref("mail.show_headers",                   1); // some
  127. pref("mail.pane_config",                    0);
  128. pref("mail.addr_book.mapit_url.format", "chrome://messenger-region/locale/region.properties");
  129.  
  130. // the format for "mail.addr_book.quicksearchquery.format" is:
  131. // @V == the escaped value typed in the quick search bar in the addressbook
  132. //
  133. // note, changing this might require a change to SearchNameOrEmail.label
  134. // in messenger.dtd
  135. pref("mail.addr_book.quicksearchquery.format", "chrome://messenger/locale/messenger.properties");
  136.  
  137. // values for "mail.addr_book.lastnamefirst" are:
  138. //0=displayname, 1=lastname first, 2=firstname first
  139. pref("mail.addr_book.lastnamefirst", 0); 
  140. pref("mail.addr_book.displayName.autoGeneration", true);
  141. pref("mail.addr_book.displayName.lastnamefirst", "chrome://messenger/locale/messenger.properties");
  142. pref("mail.addr_book.show_phonetic_fields", "chrome://messenger/locale/messenger.properties");
  143. pref("mail.attach_vcard",                   false);
  144. pref("mail.html_compose",                   true);
  145. // you can specify multiple, option headers
  146. // this will show up in the address picker in the compose window
  147. // examples: "X-Face" or "Approved,X-No-Archive"
  148. pref("mail.compose.other.header",        "");
  149. pref("mail.fcc_folder",                     "");
  150. pref("mail.encrypt_outgoing_mail",          false);
  151. pref("mail.crypto_sign_outgoing_mail",      false);
  152. pref("mail.default_html_action", 0);          // 0=ask, 1=plain, 2=html, 3=both
  153. pref("mail.smtp.ssl",0);                      // 0 = no, 1 = try, 2 = must use SSL
  154.  
  155. pref("mail.mdn.report.not_in_to_cc", 2);               // 0: Never 1: Always 2: Ask me
  156. pref("mail.mdn.report.outside_domain", 2);             // 0: Never 1: Always 2: Ask me
  157. pref("mail.mdn.report.other", 2);                      // 0: Never 1: Always 2: Ask me 3: Denial
  158.  
  159. pref("mail.incorporate.return_receipt", 0);            // 0: Inbox/filter 1: Sent folder
  160. pref("mail.request.return_receipt", 2);                // 1: DSN 2: MDN 3: Both
  161. pref("mail.receipt.request_header_type", 0);           // 0: MDN-DNT header  1: RRT header 2: Both (MC)
  162. pref("mail.receipt.request_return_receipt_on", false);
  163. pref("mail.mdn.report.enabled", true);                 // false: Never send true: Send sometimes
  164.  
  165. pref("news.default_cc",                     "");
  166. pref("news.default_fcc",                    ""); // mailbox:URL or Imap://Host/OnlineFolderName
  167. pref("news.use_fcc",                        true);
  168. pref("news.cc_self",                        false);
  169. pref("news.fcc_folder",                     "");
  170. pref("news.notify.on",                      true);
  171. pref("news.max_articles",                   500);
  172. pref("news.mark_old_read",                  false);
  173.  
  174. pref("mailnews.wraplength",                 72);
  175. pref("mail.compose.wrap_to_window_width",   false);
  176.  
  177. // 0=no header, 1="<author> wrote:", 2="On <date> <author> wrote:", 3="<author> wrote On <date>:", 4=user specified
  178. pref("mailnews.reply_header_type",          1);
  179. // locale which affects date format, set empty string to use application default locale
  180. pref("mailnews.reply_header_locale",        "");
  181. pref("mailnews.reply_header_authorwrote",   "chrome://messenger/locale/messengercompose/composeMsgs.properties");
  182. pref("mailnews.reply_header_ondate",        "On %s");
  183. // separator to separate between date and author
  184. pref("mailnews.reply_header_separator",     ", ");
  185. pref("mailnews.reply_header_colon",         ":");
  186. pref("mailnews.reply_header_originalmessage",   "chrome://messenger/locale/messengercompose/composeMsgs.properties");
  187.  
  188. pref("mail.purge_threshhold",                100);
  189. pref("mail.prompt_purge_threshhold",             false);   
  190.  
  191. pref("mailnews.offline_sync_mail",         false);
  192. pref("mailnews.offline_sync_news",         false);
  193. pref("mailnews.offline_sync_send_unsent",  true);
  194. pref("mailnews.offline_sync_work_offline", false);   
  195. pref("mailnews.force_ascii_search",         false);
  196. pref("mailnews.autolookup_unknown_mime_types",  true);
  197.  
  198. pref("mailnews.send_default_charset",       "chrome://messenger/locale/messenger.properties");
  199. pref("mailnews.view_default_charset",       "chrome://messenger/locale/messenger.properties");
  200. pref("mailnews.force_charset_override",     false);
  201. pref("mailnews.reply_in_default_charset",   false);
  202.  
  203. pref("mailnews.search_date_format",        "chrome://messenger/locale/messenger.properties");
  204. pref("mailnews.search_date_separator",     "chrome://messenger/locale/messenger.properties");
  205.  
  206. pref("mailnews.language_sensitive_font",    true);
  207.  
  208. pref("mailnews.quotingPrefs.version",       0);  // used to decide whether to migrate global quoting prefs
  209.  
  210. pref("offline.news.download.unread_only",   true);
  211. pref("offline.news.download.by_date",       true);
  212. pref("offline.news.download.days",          30);    // days
  213. pref("offline.news.download.increments",    3); // 0-yesterday, 1-1 wk ago, 2-2 wk ago,
  214.                                                 // 3-1 month ago, 4-6 month ago, 5-1 year ago
  215.  
  216. pref("ldap_1.number_of_directories", 6);
  217.  
  218. pref("ldap_1.directory1.description", "Personal Address Book");
  219. pref("ldap_1.directory1.dirType", 2);
  220. pref("ldap_1.directory1.isOffline", false);
  221.  
  222. pref("ldap_1.directory2.description", "Four11 Directory");
  223. pref("ldap_1.directory2.serverName", "ldap.four11.com");
  224.  
  225. pref("ldap_1.directory3.description", "InfoSpace Directory");
  226. pref("ldap_1.directory3.serverName", "ldap.infospace.com");
  227.  
  228. pref("ldap_1.directory4.description", "WhoWhere Directory");
  229. pref("ldap_1.directory4.serverName", "ldap.whowhere.com");
  230.  
  231. pref("ldap_1.directory5.description", "Bigfoot Directory");
  232. pref("ldap_1.directory5.serverName", "ldap.bigfoot.com");
  233.  
  234. pref("ldap_1.directory6.description", "Switchboard Directory");
  235. pref("ldap_1.directory6.serverName", "ldap.switchboard.com");
  236. pref("ldap_1.directory6.searchBase", "c=US");
  237. pref("ldap_1.directory6.attributes.telephoneNumber", "Phone Number:homephone");
  238. pref("ldap_1.directory6.attributes.street", "State:st");
  239. pref("ldap_1.directory6.filter1.repeatFilterForWords", false);
  240.  
  241. pref("ldap_2.autoComplete.interval", 650);
  242. pref("ldap_2.autoComplete.enabled", true);
  243. pref("ldap_2.autoComplete.useDirectory", false);
  244. pref("ldap_2.autoComplete.useAddressBooks", true);
  245. pref("ldap_2.autoComplete.skipDirectoryIfLocalMatchFound", true);
  246. pref("ldap_2.autoComplete.directoryServer", "");
  247.  
  248. pref("ldap_2.servers.pab.position",                                1);
  249. pref("ldap_2.servers.pab.description",                            "chrome://messenger/locale/addressbook/addressBook.properties");
  250. pref("ldap_2.servers.pab.dirType",                                2);
  251. pref("ldap_2.servers.pab.isOffline",                            false);
  252.  
  253. pref("ldap_2.servers.history.position",                            2);
  254. pref("ldap_2.servers.history.description",                        "chrome://messenger/locale/addressbook/addressBook.properties");
  255. pref("ldap_2.servers.history.dirType",                            2);
  256. pref("ldap_2.servers.history.isOffline",                        false);
  257.  
  258.  
  259. // A position of zero is a special value that indicates the directory is deleted.
  260. // These entries are provided to keep the (obsolete) Four11 directory and the
  261. // WhoWhere, Bigfoot and Switchboard directories from being migrated.
  262. pref("ldap_2.servers.four11.position",                        0);
  263. pref("ldap_2.servers.four11.description",                        "Four11 Directory");
  264. pref("ldap_2.servers.four11.serverName",                        "ldap.four11.com");
  265.  
  266. pref("ldap_2.servers.whowhere.position",                        0);             
  267. pref("ldap_2.servers.whowhere.description",                        "WhoWhere Directory");
  268. pref("ldap_2.servers.whowhere.serverName",                        "ldap.whowhere.com");
  269.  
  270. pref("ldap_2.servers.bigfoot.position",                            0);             
  271. pref("ldap_2.servers.bigfoot.description",                        "Bigfoot Directory");
  272. pref("ldap_2.servers.bigfoot.serverName",                       "ldap.bigfoot.com");
  273.                                                                                  
  274. pref("ldap_2.servers.switchboard.position",                        0);             
  275. pref("ldap_2.servers.switchboard.description",                    "Switchboard Directory");
  276. pref("ldap_2.servers.switchboard.serverName",                    "ldap.switchboard.com");
  277.  
  278. pref("ldap_2.user_id",                                            0);
  279. pref("ldap_2.version",                                            3); /* Update kCurrentListVersion in include/dirprefs.h if you change this */
  280. pref("ldap_2.prefs_migrated",      false);
  281.  
  282. pref("mailnews.confirm.moveFoldersToTrash", true);
  283.  
  284. pref("mailnews.reuse_message_window", true);
  285. pref("mailnews.open_window_warning", 10); // warn user if they attempt to open more than this many messages at once
  286.  
  287. pref("mailnews.start_page.url", "chrome://messenger-region/locale/region.properties");
  288. pref("mailnews.start_page.enabled", true);
  289.  
  290. pref("mailnews.remember_selected_message", true);
  291.  
  292. /* file, print, and stop hidden by default.  
  293.    see http://bugzilla.mozilla.org/show_bug.cgi?id=197729#c3 */
  294. pref("mail.toolbars.showbutton.file", false);
  295. pref("mail.toolbars.showbutton.next", true);
  296. pref("mail.toolbars.showbutton.junk", true);
  297. pref("mail.toolbars.showbutton.print",false);
  298. pref("mail.toolbars.showbutton.stop", false);
  299.  
  300. pref("mailnews.thread_pane_column_unthreads", true);
  301.  
  302. pref("mailnews.account_central_page.url", "chrome://messenger/locale/messenger.properties");
  303.  
  304. /* default prefs for Mozilla 5.0 */
  305. pref("mail.identity.default.compose_html", true);
  306. pref("mail.identity.default.valid", true);
  307. pref("mail.identity.default.fcc",true);
  308. pref("mail.identity.default.fcc_folder","mailbox://nobody@Local%20Folders/Sent");
  309. pref("mail.identity.default.bcc_self",false);
  310. pref("mail.identity.default.bcc_others",false);
  311. pref("mail.identity.default.bcc_list","");
  312. pref("mail.identity.default.draft_folder","mailbox://nobody@Local%20Folders/Drafts");
  313. pref("mail.identity.default.stationery_folder","mailbox://nobody@Local%20Folders/Templates");
  314. pref("mail.identity.default.directoryServer","");
  315. pref("mail.identity.default.overrideGlobal_Pref", false);
  316. pref("mail.identity.default.auto_quote", true);
  317. pref("mail.identity.default.reply_on_top", 0); // 0=bottom 1=top 2=select
  318. pref("mail.identity.default.sig_bottom", true); // true=below quoted false=above quoted
  319. // Headers to always add to outgoing mail
  320. // examples: "header1,header2"
  321. // pref("mail.identity.id1.headers", "header1");
  322. // user_pref("mail.identity.id1.header.header1", "X-Mozilla-Rocks: True")
  323. pref("mail.identity.default.headers", "");
  324.  
  325. // by default, only collect addresses the user sends to (outgoing)
  326. // incoming is all spam anyways
  327. pref("mail.collect_email_address_incoming", false);
  328. pref("mail.collect_email_address_outgoing", true);
  329. pref("mail.collect_email_address_newsgroup", false);
  330.  
  331. // by default, use the Personal Addressbook for collection
  332. pref("mail.collect_addressbook","moz-abmdbdirectory://abook.mab"); // the Personal addressbook.
  333.  
  334. pref("mail.default_sendlater_uri","mailbox://nobody@Local%20Folders/Unsent%20Messages");
  335.  
  336. pref("mail.server.default.port", -1);
  337. pref("mail.server.default.offline_support_level", -1);
  338. pref("mail.server.default.leave_on_server", false);
  339. pref("mail.server.default.download_on_biff", false);
  340. pref("mail.server.default.check_time", 10);
  341. pref("mail.server.default.delete_by_age_from_server", false);
  342. pref("mail.server.default.num_days_to_leave_on_server", 7);
  343. // "mail.server.default.check_new_mail" now lives in the protocol info
  344. pref("mail.server.default.dot_fix", true);
  345. pref("mail.server.default.limit_offline_message_size", false);
  346. pref("mail.server.default.max_size", 50);
  347. pref("mail.server.default.auth_login", true);
  348. pref("mail.server.default.delete_mail_left_on_server", false);
  349. pref("mail.server.default.valid", true);
  350. pref("mail.server.default.abbreviate",true);
  351. pref("mail.server.default.isSecure", false);
  352. pref("mail.server.default.useSecAuth", false);
  353. pref("mail.server.default.override_namespaces", true);
  354.  
  355. pref("mail.server.default.delete_model", 1);
  356. pref("mail.server.default.fetch_by_chunks", true);
  357. pref("mail.server.default.mime_parts_on_demand", true);
  358.  
  359. pref("mail.server.default.always_authenticate",false);
  360. pref("mail.server.default.singleSignon", true);
  361. pref("mail.server.default.max_articles", 500);
  362. pref("mail.server.default.notify.on", true);
  363. pref("mail.server.default.mark_old_read", false);
  364. pref("mail.server.default.empty_trash_on_exit", false);
  365.  
  366. pref("mail.server.default.using_subscription", true);
  367. pref("mail.server.default.dual_use_folders", true);
  368. pref("mail.server.default.canDelete", false);
  369. pref("mail.server.default.login_at_startup", false);
  370. pref("mail.server.default.allows_specialfolders_usage", true);
  371. pref("mail.server.default.canCreateFolders", true);
  372. pref("mail.server.default.canFileMessages", true);
  373.  
  374. // special enhancements for IMAP servers
  375. pref("mail.server.default.store_read_mail_in_pfc", false);  
  376. pref("mail.server.default.store_sent_mail_in_pfc", false);  
  377. pref("mail.server.default.use_idle", true); 
  378. // for spam
  379. pref("mail.server.default.spamLevel",100);  // 0 off, 100 on.  not doing bool since we might have real levels one day.
  380. pref("mail.server.default.moveOnSpam",false);
  381. pref("mail.server.default.moveTargetMode",0); // 0 == "Junk" on server, 1 == specific folder
  382. pref("mail.server.default.spamActionTargetAccount","");
  383. pref("mail.server.default.spamActionTargetFolder","");
  384. pref("mail.server.default.useWhiteList",true);
  385. pref("mail.server.default.whiteListAbURI","moz-abmdbdirectory://abook.mab");  // the Personal addressbook.
  386. pref("mail.server.default.purgeSpam",false);
  387. pref("mail.server.default.purgeSpamInterval",14); // 14 days
  388. pref("mail.server.default.spamLoggingEnabled",false);
  389. pref("mail.server.default.manualMark",false);
  390. pref("mail.server.default.manualMarkMode",0); // 0 == "move to junk folder", 1 == "delete"
  391.  
  392. // if true, we'll use the password from an incoming server with
  393. // matching username and domain
  394. pref("mail.smtp.useMatchingDomainServer", false);
  395.  
  396. // if true, we'll use the password from an incoming server with
  397. // matching username and host name
  398. pref("mail.smtp.useMatchingHostNameServer", false);
  399.  
  400. pref("mail.smtpserver.default.auth_method", 1); // auth any
  401. pref("mail.smtpserver.default.trySecAuth", true);
  402. pref("mail.smtpserver.default.try_ssl", 0);
  403.  
  404. // For the next 3 prefs, see <http://www.bucksch.org/1/projects/mozilla/16507>
  405. pref("mail.display_glyph", true);   // TXT->HTML :-) etc. in viewer
  406. pref("mail.display_struct", true);  // TXT->HTML *bold* etc. in viewer; ditto
  407. pref("mail.send_struct", false);   // HTML->HTML *bold* etc. during Send; ditto
  408. pref("mailnews.display.original_date", false);   // display date string from mail headers without interpreting
  409. // For the next 4 prefs, see <http://www.bucksch.org/1/projects/mozilla/108153>
  410. pref("mailnews.display.prefer_plaintext", false);  // Ignore HTML parts in multipart/alternative
  411. pref("mailnews.display.html_as", 0);  // How to display HTML parts. 0 = Render the sender's HTML; 1 = HTML->TXT->HTML; 2 = Show HTML source; 3 = Sanitize HTML
  412. pref("mailnews.display.html_sanitizer.allowed_tags", "html head title body p br div(lang,title) h1 h2 h3 h4 h5 h6 ul(type,compact) ol(type,compact,start) li(type,value) dl dt dd blockquote(type,cite) pre noscript noframes strong em sub sup span(lang,title) acronym(title) abbr(title) del(title,cite,datetime) ins(title,cite,datetime) q(cite) a(href,name,title) img(alt,title,longdesc,src) base(href) area(alt) applet(alt) object(alt) var samp dfn address kbd code cite s strike tt b i table(align) caption tr(align,valign) td(rowspan,colspan,align,valign) th(rowspan,colspan,align,valign)");
  413. pref("mailnews.display.disallow_mime_handlers", 0);  /* Let only a few classes process incoming data. This protects from bugs (e.g. buffer overflows) and from security loopholes (e.g. allowing unchecked HTML in some obscure classes, although the user has html_as > 0).
  414. This option is mainly for the UI of html_as.
  415. 0 = allow all available classes
  416. 1 = Use hardcoded blacklist to avoid rendering (incoming) HTML
  417. 2 = ... and inline images
  418. 3 = ... and some other uncommon content types
  419. 100 = Use hardcoded whitelist to avoid even more bugs(buffer overflows).
  420.       This mode will limit the features available (e.g. uncommon
  421.       attachment types and inline images) and is for paranoid users.
  422. */
  423.  
  424. pref("mail.forward_message_mode", 0); // 0=default as attachment 2=forward as inline with attachments, (obsolete 4.x value)1=forward as quoted (mapped to 2 in mozilla)
  425.  
  426. pref("mail.startup.enabledMailCheckOnce", false);
  427.  
  428. pref("mailnews.max_header_display_length",3); // number of addresses to show
  429.  
  430. pref("messenger.throbber.url","chrome://messenger-region/locale/region.properties");
  431. pref("compose.throbber.url","chrome://messenger-region/locale/region.properties");
  432. pref("addressbook.throbber.url","chrome://messenger-region/locale/region.properties");
  433.  
  434. pref("mailnews.send_plaintext_flowed", true); // RFC 2646=======
  435. pref("mailnews.display.disable_format_flowed_support", false);
  436. pref("mailnews.nav_crosses_folders", 1); // prompt user when crossing folders
  437.  
  438. // these two news.cancel.* prefs are for use by QA for automated testing.  see bug #31057
  439. pref("news.cancel.confirm",true);
  440. pref("news.cancel.alert_on_success",true);
  441. pref("mail.SpellCheckBeforeSend",false);
  442. pref("mail.warn_on_send_accel_key", true);
  443. pref("mail.enable_autocomplete",true);
  444. pref("mailnews.html_domains","");
  445. pref("mailnews.plaintext_domains","");
  446. pref("mailnews.global_html_domains.version",1);
  447.  
  448. pref("mail.imap.use_status_for_biff", true);
  449.  
  450. // Pref controlling confirmation of folder deletion on empty trash
  451. pref("mail.imap.confirm_emptyTrashFolderDeletion", false);
  452. // Pref controlling the updates on the pre-configured accounts.
  453. // In order to add new pre-configured accounts (after a version),
  454. // increase the following version number besides updating the
  455. // pref mail.accountmanager.appendaccounts 
  456. pref("mailnews.append_preconfig_accounts.version",1);
  457.  
  458. // Pref controlling the updates on the pre-configured smtp servers.
  459. // In order to add new pre-configured smtp servers (after a version),
  460. // increase the following version number besides updating the
  461. // pref mail.smtpservers.appendsmtpservers
  462. pref("mail.append_preconfig_smtpservers.version",1);
  463.  
  464. pref("mail.biff.play_sound",true);
  465. // 0 == default system sound, 1 == user specified wav
  466. pref("mail.biff.play_sound.type",0);
  467. // _moz_mailbeep is a magic key, for the default sound.
  468. // otherwise, this needs to be a file url
  469. pref("mail.biff.play_sound.url","");
  470. pref("mail.biff.show_alert", true);
  471.  
  472. pref("mail.content_disposition_type", 0);
  473.  
  474. pref("mailnews.show_send_progress", true); //Will show a progress dialog when saving or sending a message
  475. pref("mail.server.default.retainBy", 1);
  476.  
  477. pref("mailnews.ui.junk.firstuse", true);
  478.  
  479. // for manual upgrades of certain UI features.
  480. // 1 -> 2 is for the folder pane tree landing, to hide the
  481. // unread and total columns, see msgMail3PaneWindow.js
  482. pref("mail.ui.folderpane.version", 1);                                          
  483.  
  484. // for manual upgrades of certain UI features.
  485. // 1 -> 2 is for the thread pane tree landing, to hide the
  486. // labels column, see msgMail3PaneWindow.js
  487. // 2 -> 3 is for the junk status column
  488. pref("mailnews.ui.threadpane.version", 1);
  489. // for manual upgrades of certain UI features.
  490. // 1 -> 2 is for the ab results pane tree landing
  491. // to hide the non default columns in the addressbook dialog
  492. // see abCommon.js and addressbook.js
  493. pref("mailnews.ui.addressbook_results.version", 1);                                          
  494. // for manual upgrades of certain UI features.
  495. // 1 -> 2 is for the ab results pane tree landing
  496. // to hide the non default columns in the addressbook sidebar panel
  497. // see abCommon.js and addressbook-panel.js
  498. pref("mailnews.ui.addressbook_panel_results.version", 1);                                          
  499. // for manual upgrades of certain UI features.
  500. // 1 -> 2 is for the ab results pane tree landing
  501. // to hide the non default columns in the select addresses dialog
  502. // see abCommon.js and abSelectAddressesDialog.js
  503. pref("mailnews.ui.select_addresses_results.version", 1); 
  504. // for manual upgrades of certain UI features.
  505. // 1 -> 2 is for the ab results pane
  506. // to hide the non default columns in the advanced directory search dialog
  507. // see abCommon.js and ABSearchDialog.js
  508. pref("mailnews.ui.advanced_directory_search_results.version", 1);                                         
  509. //If set to a number greater than 0, msg compose windows will be recycled in order to open them quickly
  510. pref("mail.compose.max_recycled_windows", 1); 
  511.  
  512. // true makes it so we persist the open state of news server when starting up the 3 pane
  513. // this is costly, as it might result in network activity.
  514. // false makes it so we act like 4.x
  515. // see bug #103010 for details
  516. pref("news.persist_server_open_state_in_folderpane",false);
  517.  
  518. // New color prefs for Labels
  519. pref("mailnews.labels.description.0", "chrome://messenger/locale/messenger.properties");
  520. pref("mailnews.labels.description.1", "chrome://messenger/locale/messenger.properties");
  521. pref("mailnews.labels.description.2", "chrome://messenger/locale/messenger.properties");
  522. pref("mailnews.labels.description.3", "chrome://messenger/locale/messenger.properties");
  523. pref("mailnews.labels.description.4", "chrome://messenger/locale/messenger.properties");
  524. pref("mailnews.labels.description.5", "chrome://messenger/locale/messenger.properties");
  525.  
  526. // mailews.labels.color.0 is not defined because there is no color associated with
  527. // this particular label.  It is defined above (mailnews.lables.description.0) because
  528. // its description string is required in order to prepend the accesskey '0':
  529. //   ie: '0 None'.
  530. pref("mailnews.labels.color.1", "#FF0000"); // default: red
  531. pref("mailnews.labels.color.2", "#FF9900"); // default: orange
  532. pref("mailnews.labels.color.3", "#009900"); // default: green
  533. pref("mailnews.labels.color.4", "#3333FF"); // default: blue
  534. pref("mailnews.labels.color.5", "#993399"); // default: purple
  535.  
  536. //default null headers
  537. //example "X-Warn: XReply", list of hdrs separated by ": "
  538. pref("mailnews.customHeaders", ""); 
  539.  
  540. pref("mailnews.fakeaccount.show", false);
  541. pref("mailnews.fakeaccount.server", "");
  542.  
  543. // message display properties
  544. pref("mailnews.message_display.disable_remote_image", false);
  545. pref("mailnews.message_display.allow.plugins", true);
  546.  
  547. // default msg compose font prefs
  548. pref("msgcompose.font_face",                "");
  549. pref("msgcompose.font_size",                "medium");
  550. pref("msgcompose.text_color",               "#000000");
  551. pref("msgcompose.background_color",         "#FFFFFF");
  552.  
  553. // When there is no disclosed recipients (only bcc), we should address the message to empty group
  554. // to prevent some mail server to disclose the bcc recipients
  555. pref("mail.compose.add_undisclosed_recipients", true);
  556.  
  557. // these prefs (in minutes) are here to help QA test this feature
  558. // "mail.purge.min_delay", never purge a junk folder more than once every 480 minutes (60 mins/hour * 8 hours)
  559. // "mail.purge.timer_interval", fire the purge timer every 5 minutes, starting 5 minutes after we load accounts
  560. pref("mail.purge.min_delay",480);
  561. pref("mail.purge.timer_interval",5); 
  562.  
  563. // set to true if viewing a message should mark it as read only if the msg is viewed for a specified time interval in seconds
  564. pref("mailnews.mark_message_read.delay", false); 
  565. pref("mailnews.mark_message_read.delay.interval", 5); // measured in seconds
  566.  
  567. // require a password before showing imap or local headers in thread pane
  568. pref("mail.password_protect_local_cache", false);
  569. // to reduce forking in the js / C++
  570. // overridden by stand alone mail
  571. pref("mail.standalone", false);
  572.  
  573. pref("mailnews.view.last",0); // 0 == "all" view
  574.  
  575. // Unread mail count timer. Value to be specified in seconds
  576. // default is 5 minutes, i.e., 5 * 60 seconds = 300
  577. pref("mail.windows_xp_integration.unread_count_interval", 300);
  578.  
  579.  
  580.  
  581.